import os

import our_global


class BasePreprocess:

    def __init__(self, work_place=our_global.work_place):
        self.work_place = work_place

    def read_corpus_name(self):
        for root, dirs, files in os.walk(self.work_place):
            return files  # 当前路径下所有非目录子文件


if __name__ == '__main__':
    BasePreprocess().read_corpus_name()
